﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Model;

namespace WMS.Repository.IRepository
{
    public interface IUserRoleRepository
    {
        Task<List<UserRoleModel>> BandRoleUserListAsync(long roleId);

        Task<bool> BandUserAsync(UserRoleModel userRoleModel);

        Task<bool> UnBandUserAsync(UserRoleModel userRoleModel);

        Task<List<UserRoleModel>> GetUserRoles(long userId);
    }
}
